package com.rock.code.common.tree;


/**
 * The type Item node.
 *
 * @author kongqiang
 * @date 2018.01.03
 */
public class ItemNode {
    /**
     * The Text.
     */
    private String text;
    /**
     * The Type.
     */
    private String type;
    /**
     * The Additional parameters.
     */
    private AdditionalParameters additionalParameters;

    /**
     * Gets text.
     *
     * @return the text
     * @author kongqiang
     * @date 2018.01.03
     */
    public String getText() {
        return text;
    }

    /**
     * Sets text.
     *
     * @param text the text
     * @author kongqiang
     * @date 2018.01.03
     */
    public void setText(String text) {
        this.text = text;
    }

    /**
     * Gets type.
     *
     * @return the type
     * @author kongqiang
     * @date 2018.01.03
     */
    public String getType() {
        return type;
    }

    /**
     * Sets type.
     *
     * @param type the type
     * @author kongqiang
     * @date 2018.01.03
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * Gets additional parameters.
     *
     * @return the additional parameters
     * @author kongqiang
     * @date 2018.01.03
     */
    public AdditionalParameters getAdditionalParameters() {
        return additionalParameters;
    }

    /**
     * Sets additional parameters.
     *
     * @param additionalParameters the additional parameters
     * @author kongqiang
     * @date 2018.01.03
     */
    public void setAdditionalParameters(AdditionalParameters additionalParameters) {
        this.additionalParameters = additionalParameters;
    }
}
